﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KBEngineTool.Core
{
    public class DebugLog : DisposableObject, ILog
    {
        public void Debug(string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine("[D] " + string.Format(format, args));
        }

        public void Error(string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine("[W] " + string.Format(format, args));
        }

        public void Warning(string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine("[E] " + string.Format(format, args));
        }
    }
}
